package com.zuokun.mapper;

import com.zuokun.protol.login.MsgGetAchieve;
import com.zuokun.protol.login.MsgLogin;
import com.zuokun.vo.RoomInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RoomMapper {

    /**
     * 查询全部房间信息
     * @return
     */
    @Select("select id,count,is_prepare as isPrepareInt from room_info")
    RoomInfo[] queryAllRoom();
}
